package com.wyp.design.pattern.behavior.visitor;


/**
 * 依赖的方式进行关联
 */
public class FreeCourse extends Course {

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }
}
